package com.qf.java2201.service.impl;

import com.qf.java2201.dao.UserDao;
import com.qf.java2201.dao.impl.UserDaoImpl;
import com.qf.java2201.pojo.HUser;
import com.qf.java2201.service.UserService;

public class UserServiceImpl implements UserService {
    UserDao userDao = new UserDaoImpl();
    @Override
    public HUser login(HUser huser) {
        return userDao.login(huser);
    }

    @Override
    public int register(HUser hUser) {
        return userDao.register(hUser);
    }
}
